package com.fujica.db_operation.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName 班级类
 * @Description TODO
 * @Author cjm
 * @Date 2020/6/18 15:08
 * @Version 1.0
 **/

@Data
@Table(name = "t_class")
public class Class {

    @Id
    private Integer id;

    @Column(name = "cno")
    private Long cno;

    @Column(name = "cname")
    private String cname;

}
